Configuring IPv6 LAN with IPv4 WAN 您所在的位置:网站首页 openwrt ipv6 wan状态 未连接 Configuring IPv6 LAN with IPv4 WAN

Configuring IPv6 LAN with IPv4 WAN

2024-07-11 07:13| 来源: 网络整理| 查看: 265

Hello Guys,

I've read several topics about configuring IPv6 and also the guides here https://openwrt.org/docs/guide-user/network/ipv6/configuration , but I struggle to find out how to configure an IPv6 LAN.

My setup is as following: 1/ An ISP router to which I have no admin access, and which gives IPv4 address via DHCP and MAC filtering to my first OpenWRT router. 2/ My first OpenWRT router receives IPv4 address via WAN interface and has IPv4 LAN. 3/ A second OpenWRT router for test purposes connected to the first OpenWRT LAN through wired connection and DHCP.

Both routers have default configuration(reset then this morning), except the first one LAN subnet is 10.0.0.1/64 and the second 192.168.1.1/64 to avoid issues.

When I connect to the 2nd OpenWRT via my Mac, I got IPv4 and IPv6 addresses. But when I disable IPv4 on the Mac via Configure IPv4 set to 'Off', I have no internet connectivity. I noticed that the Mac doesn't receive a Router(Gateway) address, so I configured it manually to the IPv6 address shown in LUCI > Interfaces > for the LAN interface. Same also configured for DNS.

Mac shows me that I'm connected to the router but still I have no internet. Maybe I have to configure Jool from the following guide, to connect to IPv4 network via IPv6 through NAT64/DNS64?

OpenWrt Wiki – 30 Oct 22 NAT64 for a IPv6-only network (Jool)

NAT64 for a IPv6-only network (Jool) See also: NAT66 and IPv6 masquerading, IPv6 NAT and NPT NAT64 (Network address translation from IPv6 to IPv4) is a technology for allowing an IPv6-only network to connect and interoperate with the IPv4 Internet....

Wanted to ask first before messing the things more :smiley:

Thank you!



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有